package com.mswork.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mswork.common.annotation.Excel;
import com.mswork.common.core.domain.BaseEntity;

/**
 * 客户管理对象 tb_company
 * 
 * @author manshu
 * @date 2025-03-25
 */
public class Company extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID（自增） */
    private Integer companyId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String companyName;

    /** 联系人 */
    private String companyPerson;

    /** 联系电话 */
    private String companyPhone;

    /** 法人 */
    @Excel(name = "法人")
    private String companyLegalPerson;

    /** 总经理 */
    @Excel(name = "总经理")
    private String companyManager;

    /** 税号 */
    private String companyTaxNo;

    /** 银行卡号 */
    private String companyBankNo;

    /** 开户行 */
    private String companyBankAddress;

    /** 0无效,1有效 */
    private Integer status;

    public void setCompanyId(Integer companyId) 
    {
        this.companyId = companyId;
    }

    public Integer getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCompanyPerson(String companyPerson) 
    {
        this.companyPerson = companyPerson;
    }

    public String getCompanyPerson() 
    {
        return companyPerson;
    }
    public void setCompanyPhone(String companyPhone) 
    {
        this.companyPhone = companyPhone;
    }

    public String getCompanyPhone() 
    {
        return companyPhone;
    }
    public void setCompanyLegalPerson(String companyLegalPerson) 
    {
        this.companyLegalPerson = companyLegalPerson;
    }

    public String getCompanyLegalPerson() 
    {
        return companyLegalPerson;
    }
    public void setCompanyManager(String companyManager) 
    {
        this.companyManager = companyManager;
    }

    public String getCompanyManager() 
    {
        return companyManager;
    }
    public void setCompanyTaxNo(String companyTaxNo) 
    {
        this.companyTaxNo = companyTaxNo;
    }

    public String getCompanyTaxNo() 
    {
        return companyTaxNo;
    }
    public void setCompanyBankNo(String companyBankNo) 
    {
        this.companyBankNo = companyBankNo;
    }

    public String getCompanyBankNo() 
    {
        return companyBankNo;
    }
    public void setCompanyBankAddress(String companyBankAddress) 
    {
        this.companyBankAddress = companyBankAddress;
    }

    public String getCompanyBankAddress() 
    {
        return companyBankAddress;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("companyPerson", getCompanyPerson())
            .append("companyPhone", getCompanyPhone())
            .append("companyLegalPerson", getCompanyLegalPerson())
            .append("companyManager", getCompanyManager())
            .append("companyTaxNo", getCompanyTaxNo())
            .append("companyBankNo", getCompanyBankNo())
            .append("companyBankAddress", getCompanyBankAddress())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("status", getStatus())
            .toString();
    }
}
